package com.hejia.alauda.entity;

import javax.persistence.Column;

/**
 * 登录历史
 * Created by Johnny(johnny@hejiajinrong.com) on 14-9-4.
 */
public class LoginHistory extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2460793400567829723L;
	
	@Column
	private User user;
	
	@Column
	private String description;//描述

	@Column
	private String loginType;
	
	@Column
	private String ip; //登录ip
	
	@Column
	private String city;//ip对应的城市
	
	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
}
